﻿<Window x:Class="Boggle.Client.FancyWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="FancyWindow" Height="300" Width="300" WindowStyle="None"
        ResizeMode="NoResize">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="{Binding BorderWidth}" />
            <RowDefinition />
            <RowDefinition Height="{Binding BorderWidth}" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="{Binding BorderWidth}" />
            <ColumnDefinition />
            <ColumnDefinition Width="{Binding BorderWidth}" />
        </Grid.ColumnDefinitions>
        <ContentControl Content="{Binding Content}" Grid.RowSpan="3" Grid.ColumnSpan="3" />
        <Rectangle Fill="Transparent" Name="top" Grid.Column="1" />
        <Rectangle Fill="Transparent" Name="topRight" Grid.Column="2" />
        <Rectangle Fill="Transparent" Name="right" Grid.Row="1" Grid.Column="2" />
        <Rectangle Fill="Transparent" Name="bottomRight" Grid.Row="2" Grid.Column="2" />
        <Rectangle Fill="Transparent" Name="bottom" Grid.Row="2" Grid.Column="1" />
        <Rectangle Fill="Transparent" Name="bottomLeft" Grid.Row="2" />
        <Rectangle Fill="Transparent" Name="left" Grid.Row="1" />
        <Rectangle Fill="Transparent" Name="topLeft" />
    </Grid>
</Window>
